<?php
/**
 * Created by PhpStorm
 * User: Jhinwy
 * Date: 7/25/24
 * Time: 9:59 AM
 */


namespace app\adminapi\controller\media;

use app\adminapi\controller\BaseAdminController;
use app\adminapi\logic\media\MediaLogic;


class MediaController extends BaseAdminController
{


    /**
     * 获取所有媒体
     *
     * @return \think\response\Json
     */
    public function all()
    {
        return $this->data(MediaLogic::getAll());
    }

}
